#include "driverh.h"

#ifndef __UART3_H_
#define __UART3_H_

#ifdef   __cplusplus
extern   "C"   {
#endif

INT8U Uart3Init(INT32U bps, INT16U party);
void Uart3SetBaud(INT32U bps, INT16U party);
INT8U Uart3ReceiveNByte(INT8U *p, INT16U n);
INT8U Uart3SendNByte(INT8U *p, INT16U n);
INT8U Uart3SendStr(INT8 *str);
INT8U WaitUart3SendEnd(void);
void Uart3QueueFlushSendBuf(void);
void Uart3QueueFlushReceiveBuf(void);
void Uart3Empty(void);
INT16U Uart3Receive(INT8U *p, INT16U n);
void EsamResetIo(void);

#ifdef   __cplusplus
}
#endif

#endif
